using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using DealerPlatform.Domain;
using DealerPlatform.Domain.GlobalDto;
using DealerPlatform.Service.ProductApp.Dto;

namespace DealerPlatform.Service.ProductApp
{

    public interface IProductService: IocTag
    {
        Task<IEnumerable<ProductDto>> GetProductDto(string BelongTypeNo, string? typeNo, string searchText, Dictionary<string, string> dicProductProps, PageWithSortDto dto);
        
        Task<IEnumerable<ProductTypeDto>> GetProductType(string BelongTypeNo);

        Task<Dictionary<string, IEnumerable<string>>> GetProductProperties(string bigType, string? typeNo);
        Task<List<ProductPropertyDto>> GetProductProperties2(string bigType, string? typeNo);
        Task<List<ProductBelongsDto>> GetProductBelongs();
    }
}